[NTG-context] Re: Comments placed in the margin

2024-03-19 Thread Jean-Pierre Delange
Hi Jeroen, You can try this : \setupmargindata[inmargin][location=inner, style={\ssx\setupinterlinespace[line=2.8ex]}] \setupmarginframed[inmargin][align=left] Sorry if I send owls to Athens ! JP Le 19/03/2024 à 15:38, Jeroen a écrit : For comments that are placed in the margin

[NTG-context] Wiki page : Mixed languages sample (French, Ancient Greek, Arabic, Chinese)

2024-03-01 Thread Jean-Pierre Delange
=doublesided, location={header, inmargin}] \setupmargindata[inmargin][location=inner, style={\ssx\setupinterlinespace[line=2.8ex]}] \setupmarginframed[inmargin][align=right] \setupbodyfontenvironment[default][em=italic] % Use Theano Didot as Ancient Greek font \definefallbackfamily[mainface][serif

[NTG-context] Re: Issue with italics

2024-02-26 Thread Jean-Pierre Delange
] \setuppagenumbering[alternative=doublesided, location={header, inmargin}] \setupmargindata[inmargin][location=inner, style={setupinterlinespace[line=2.8ex]}] \setupmarginframed[inmargin][align=right] \setupbodyfontenvironment[default][em=italic] \definefallbackfamily[mainface][rm][Theano Didot

Re: [NTG-context] font rendering in bibliography

2020-10-28 Thread Xenos Athenaios
]}] \setupmarginframed[inmargin][align=right] \setupbodyfontenvironment[default][em=italic] \definefallbackfamily[mainface][serif][Theano Didot][preset=range:greek, it={Old Standard Italic}, force=yes] \definefallbackfamily [mainface] [rm] [ipamincho] [range=cjkunifiedideographs] \definefallbackfamily

Re: [NTG-context] inmargin produces underfull hbox

2018-09-07 Thread Wolfgang Schuster
You can get of the warning by changing the alignment for the \margindata entries. \setupmarginframed   [inmargin]   [align={flushright,broad}] \starttext Overfull\inmargin{abc} \stoptext You can produce the same message with the following example. \starttext \vbox   {\hsize

Re: [NTG-context] Problems with heads using margintext alternative

2017-07-30 Thread Hans Hagen
=no, alternative=margintext, align=middle] \setupmargindata [inmargin] [width=3cm, style=\tfxx, margin=normal, % makes distance work distance=1cm] \setupmarginframed [inmargin] [width=2cm, frame=on, align=middle] \starttext \chapter{Chapter} \input

Re: [NTG-context] space before/after colored framed text

2016-08-17 Thread Jean-Pierre Delange
,agr}] \mainlanguage[fr] \setcharacterspacing[frenchpunctuation] \setuplayout [backspace=40mm] \setuppagenumbering[alternative=doublesided, location={header, inmargin}] \setupmargindata[inmargin][location=inner, style={\ssx\setupinterlinespace[line=2.8ex]}] \setupmarginframed[inmargin][align=right] \setupbodyfontenviron

Re: [NTG-context] space before/after colored framed text

2016-08-17 Thread Pablo Rodriguez
data[inmargin][location=inner, style={\ssx\setupinterlinespace[line=2.8ex]}] \setupmarginframed[inmargin][align=right] \setupbodyfontenvironment[default][em=italic] \definefontfamily[mainface] [serif] [GFS Didot] \setupbodyfont[mainface] \setupindenting[1.5em] \setupindenting[yes] \setupwhit

Re: [NTG-context] space before/after colored framed text

2016-08-17 Thread Jean-Pierre Delange
][patterns={fr,agr}] \mainlanguage[fr] \setcharacterspacing[frenchpunctuation] \setuplayout [backspace=40mm] \setuppagenumbering[alternative=doublesided, location={header, inmargin}] \setupmargindata[inmargin][location=inner, style={\ssx\setupinterlinespace[line=2.8ex]}] \setupmarginframed[inmargin

Re: [NTG-context] Question about \definefallback

2016-07-25 Thread Jean-Pierre Delange
[fr] \setuplayout [backspace=40mm] \setuppagenumbering[alternative=doublesided, location={header, inmargin}] \setupmargindata[inmargin][location=inner, style={\ssx\setupinterlinespace[line=2.8ex]}] \setupmarginframed[inmargin][align=right] \setupbodyfontenvironment[default][em=italic

[NTG-context] Question about \definefallback

2016-07-24 Thread Jean-Pierre Delange
][patterns={fr,agr}] \mainlanguage[fr] \setuplayout [backspace=40mm] \setuppagenumbering[alternative=doublesided, location={header, inmargin}] \setupmargindata[inmargin][location=inner, style={\ssx\setupinterlinespace[line=2.8ex]}] \setupmarginframed[inmargin][align=right

[NTG-context] French and Ancient Greek

2016-07-11 Thread Jean-Pierre Delange
={header, inmargin}] \setupmargindata[inmargin][location=inner, style={\ssx\setupinterlinespace[line=2.8ex]}] \setupmarginframed[inmargin][align=right] \setupbodyfontenvironment[default][em=italic] \definefallbackfamily[mainface][serif][Theano Didot][preset=range:greek, it={Old Standard Italic

Re: [NTG-context] anchor points for \inmargin

2015-11-12 Thread DesdeChaves
cal blank space? This \vskip4cm\Info{scores}\vskip4cm don't make the > job. > > You can use the \framed command to reserve the space for the answer and > place with the score with a layer as background for the frame. > > \setupmargindata[inmargin][style={\ss\tfx},location=outer,align=

Re: [NTG-context] anchor points for \inmargin

2015-11-12 Thread Wolfgang Schuster
ground for the frame. \setupmargindata[inmargin][style={\ss\tfx},location=outer,align=middle] \setupmarginframed[inmargin][align=middle,location=outer] \definelayer[infolayer][width=\framedwidth,height=\framedheight] \startsetups[infolayer:place] \setlayer[infolayer][preset=middleright]{\rotate{\getva

[NTG-context] anchor points for \inmargin

2015-11-11 Thread DesdeChaves
] \setupmarginframed[inmargin][align=middle,location=outer] \def\Info#1{\margindata[inmargin]{\rotate{#1}\ignorespaces}} \starttext \startitemize[n] \item Question 1 \vskip8cm \Info{20 \periods[3] 15 \periods[3] 10} \vskip1cm \item Question 2 \vskip8cm \Info{20 \periods[3] 15 \periods[3] 10} \page

Re: [NTG-context] setupinmargin, setupmargindata ; page numbers ; fonts

2014-11-25 Thread Richard Sherman
Wolfgang Schuster schuster.wolfgang at gmail.com writes: ... \setuppagenumbering[style=\ttc] \setuplayout[backspace=4cm] \showframe \setupmarginframed[inmargin][align=flushleft] \setupmargindata [inmargin][style={\switchtobodyfont[ss,18]}] % Faster method to switch the font

Re: [NTG-context] setupinmargin, setupmargindata ; page numbers ; fonts

2014-11-25 Thread Wolfgang Schuster
Am 25.11.2014 um 10:14 schrieb Richard Sherman rss@gmail.com: Wolfgang Schuster schuster.wolfgang at gmail.com writes: ... \setuppagenumbering[style=\ttc] \setuplayout[backspace=4cm] \showframe \setupmarginframed[inmargin][align=flushleft] \setupmargindata [inmargin][style

Re: [NTG-context] setupinmargin, setupmargindata ; page numbers ; fonts

2014-11-24 Thread Wolfgang Schuster
in \setupmargindata. 3. The alignment in the margin text can be set with \setupmarginframed or the second optional argument of \inmargin. \setuppagenumbering[style=\ttc] \setuplayout[backspace=4cm] \showframe \setupmarginframed[inmargin][align=flushleft] \setupmargindata [inmargin][style

Re: [NTG-context] Using the margin for two purposes

2014-05-19 Thread Matthias Weber
that the following does what you want as far as setting up the margin text and description. I am no help on the mp stuff that you will need for curly or other-dotted rules. As you probably saw, neither \setupmargindata nor \setupmarginframed are in the wiki. The list archive has some hints

Re: [NTG-context] Using the margin for two purposes

2014-05-19 Thread Matthias Weber
? When I put it into \definesidebar, the sidebar disappears, and when I write \startsidebar[oeps,alternative=1] it reverts to the default left sidebar (albeit dotted). Matthias \setupmargindata [left] [location=right, style=\bfxx] \setupmarginframed[left

Re: [NTG-context] Using the margin for two purposes

2014-05-18 Thread Rik
that you will need for curly or other-dotted rules. As you probably saw, neither \setupmargindata nor \setupmarginframed are in the wiki. The list archive has some hints, but the source code, if you ignore a couple of misleading comments, suggested what I got to work. The problem you will run

Re: [NTG-context] [***SPAM***] heading in margin - strange extra vertical spaces

2013-05-04 Thread Marco Patzer
is the line-break in the margin of the second paragraph different than above? The margin box itself is positioned correctly, but I have no clue where the empty line comes from. You can visualise the box with: \setupmarginframed [inouter] [frame=on] Marco signature.asc Description

Re: [NTG-context] underbar/margin text

2012-11-21 Thread Daniel Schopper
Thank you very much, Wolfgang and Luigi, that was exactly what I was looking for! Footnotes disable the rule with the \resetallattributes command but it’s up to Hans to add it to the margin notes. Maybe there could be parameter like \setupmarginframed[resetfeatures=(yes|no|underbar

Re: [NTG-context] underbar/margin text

2012-11-21 Thread Wolfgang Schuster
there could be parameter like \setupmarginframed[resetfeatures=(yes|no|underbar|color|…)] … There is no need for such a setting because the command has to be added at the begin of \margindata which doesn’t cause problems with colors etc. which are applied later in the process. Wolfgang

Re: [NTG-context] \inmargin

2012-03-04 Thread Wolfgang Schuster
The default seems to be bold and aligned right. Changing the style works, but trying to align inner/left also has no effect. Style and color: \setupmargindata[…][style=…,color=…] Alignment: \setupmarginframed[align=…] Can be also done direct: \inmargin[style=…,color=…][align=…]{…} Wolfgang

Re: [NTG-context] \inmargin

2012-03-03 Thread Wolfgang Schuster
. \setupmargindata + \setupmarginframed). Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context

Re: [NTG-context] \inmargin

2012-03-03 Thread S Barmeier
\stoptext What has changed is how to defined a new command (\defineinmargin vs. \definemargindata) and how to customize these commands (\setupinmargin vs. \setupmargindata + \setupmarginframed). Wolfgang

Re: [NTG-context] Text in margin

2011-11-29 Thread Kip Warner
On Tue, 2011-11-29 at 00:19 +0100, Wolfgang Schuster wrote: style={\switchtobodyfont[7pt]\it} or set “foregroundstyle=italic” for \setupmarginframed. To show the complete text you have to increase the backspace. \setuplayout[backspace=3.5cm] Wolfgang Thanks Wolfgang. That did

Re: [NTG-context] Text in margin

2011-11-28 Thread Wolfgang Schuster
Am 28.11.2011 um 06:07 schrieb Kip Warner: On Sun, 2011-11-27 at 22:43 +0100, Wolfgang Schuster wrote: Search for \setupmargindata and \setupmarginframed, you can see all keys for commands in my reference: https://bitbucket.org/wolfs/commands/downloads Wolfgang Hey Wolfgang. I took

Re: [NTG-context] Text in margin

2011-11-28 Thread Kip Warner
On Mon, 2011-11-28 at 10:39 +0100, Wolfgang Schuster wrote: Am 28.11.2011 um 06:07 schrieb Kip Warner: On Sun, 2011-11-27 at 22:43 +0100, Wolfgang Schuster wrote: Search for \setupmargindata and \setupmarginframed, you can see all keys for commands in my reference: https

Re: [NTG-context] Text in margin

2011-11-28 Thread Wolfgang Schuster
Am 29.11.2011 um 00:13 schrieb Kip Warner: On Mon, 2011-11-28 at 10:39 +0100, Wolfgang Schuster wrote: Am 28.11.2011 um 06:07 schrieb Kip Warner: On Sun, 2011-11-27 at 22:43 +0100, Wolfgang Schuster wrote: Search for \setupmargindata and \setupmarginframed, you can see all keys

Re: [NTG-context] Text in margin

2011-11-27 Thread Wolfgang Schuster
=colour_page, bodyfont=3pt, before={\switchtobodyfont[3pt]} style=\ss\tfx\setupinterlinespace] Search for \setupmargindata and \setupmarginframed, you can see all keys for commands in my reference: https://bitbucket.org/wolfs/commands/downloads Wolfgang

Re: [NTG-context] Text in margin

2011-11-27 Thread Kip Warner
On Sun, 2011-11-27 at 22:43 +0100, Wolfgang Schuster wrote: Search for \setupmargindata and \setupmarginframed, you can see all keys for commands in my reference: https://bitbucket.org/wolfs/commands/downloads Wolfgang Hey Wolfgang. I took a look at the command reference you linked me

Re: [NTG-context] stacking marginal notes

2011-11-04 Thread Idris Samawi Hamid ادريس سماوي حامد
project: = \setupmargindata[inmargin][stack=yes] \setupmarginframed[inmargin][stack=yes] I don’t have time to look at your problem but the stack parameter has to bet set with \setupmargindata, \setupmarginframed supports only options from \setupframed (because it’s

Re: [NTG-context] stacking marginal notes

2011-11-04 Thread Hans Hagen
, but it would be a godsend to the current porting-to-mkiv project: = \setupmargindata[inmargin][stack=yes] \setupmarginframed[inmargin][stack=yes] I don’t have time to look at your problem but the stack parameter has to bet set with \setupmargindata, \setupmarginframed

Re: [NTG-context] reference bug: MkiV

2011-11-03 Thread Idris Samawi Hamid ادريس سماوي حامد
system, and now the new system does not support references … The old \inmargin command is gone, Hans rewrote the whole code for \inmargin etc. You can change the alignment global with \setupmarginframed[align=outer] for for a single command with \inmargin[][align=outer]{…} Hmm .. does

Re: [NTG-context] reference bug: MkiV

2011-11-03 Thread Idris Samawi Hamid ادريس سماوي حامد
, and now the new system does not support references … The old \inmargin command is gone, Hans rewrote the whole code for \inmargin etc. You can change the alignment global with \setupmarginframed[align=outer] for for a single command with \inmargin[][align=outer]{…} Is there any workaround

Re: [NTG-context] reference bug: MkiV

2011-11-03 Thread Idris Samawi Hamid ادريس سماوي حامد
, and now the new system does not support references … The old \inmargin command is gone, Hans rewrote the whole code for \inmargin etc. You can change the alignment global with \setupmarginframed[align=outer] for for a single command with \inmargin[][align=outer]{…} Is there any workaround

Re: [NTG-context] reference bug: MkiV

2011-11-03 Thread Wolfgang Schuster
, the old \inmargin no longer respect [align=outer], so I switched to the new system, and now the new system does not support references … The old \inmargin command is gone, Hans rewrote the whole code for \inmargin etc. You can change the alignment global with \setupmarginframed[align=outer

Re: [NTG-context] reference bug: MkiV

2011-11-03 Thread Wolfgang Schuster
no longer respect [align=outer], so I switched to the new system, and now the new system does not support references … The old \inmargin command is gone, Hans rewrote the whole code for \inmargin etc. You can change the alignment global with \setupmarginframed[align=outer

Re: [NTG-context] reference bug: MkiV

2011-11-03 Thread Idris Samawi Hamid ادريس سماوي حامد
On Thu, 03 Nov 2011 14:23:28 -0600, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: The old \inmargin command is gone, Hans rewrote the whole code for \inmargin etc. You can change the alignment global with \setupmarginframed[align=outer] for for a single command

Re: [NTG-context] reference bug: MkiV

2011-11-03 Thread Wolfgang Schuster
with \definemargindata. To describe what’s the difference between \setupmargindata and \setupmarginframed is a wrote a very simple version of \inmargin. \def\imrand#1% {\vadjust {\llap {\smash[h]{\inframed{#1}}% \hskip\leftmargindistance}}} \starttext \showframe text text text

Re: [NTG-context] reference bug: MkiV

2011-11-03 Thread Idris Samawi Hamid ادريس سماوي حامد
define a new command with \definemargindata. To describe what’s the difference between \setupmargindata and \setupmarginframed is a wrote a very simple version of \inmargin. : You can find a overview about all keys and their values in my new command reference: https://bitbucket.org/wolfs/commands

[NTG-context] stacking marginal notes

2011-11-03 Thread Idris Samawi Hamid ادريس سماوي حامد
Dear Syndicate, Does stacking work? I've never tried it before, but it would be a godsend to the current porting-to-mkiv project: = \setupmargindata[inmargin][stack=yes] \setupmarginframed[inmargin][stack=yes] \starttext \dorecurse{2}{This is a test of the annotation

Re: [NTG-context] stacking marginal notes

2011-11-03 Thread Wolfgang Schuster
Am 04.11.2011 um 01:06 schrieb Idris Samawi Hamid ادريس سماوي حامد: Dear Syndicate, Does stacking work? I've never tried it before, but it would be a godsend to the current porting-to-mkiv project: = \setupmargindata[inmargin][stack=yes] \setupmarginframed

Re: [NTG-context] reference bug: MkiV

2011-11-01 Thread Wolfgang Schuster
rewrote the whole code for \inmargin etc. You can change the alignment global with \setupmarginframed[align=outer] for for a single command with \inmargin[][align=outer]{…} Is there any workaround, either for \inmargin or \inoutermargin? My publisher is going to kill me ;-) \usemodule

Re: [NTG-context] Margin text in doublesided documents

2011-04-13 Thread Henning Hraban Ramm
=outer] \setupmarginframed[inmargin][align=outer,location=inner] \def\Info#1{\margindata[inmargin]{\rotate{#1}}} \starttext \chapter{Tufte} \Info{This is a text by Tufte 1} \input tufte \Info{This is a text by Tufte 2} \chapter{Knuth} \Info{This is a text by Knuth 1} \input knuth \Info

Re: [NTG-context] Margin text in doublesided documents

2011-04-05 Thread Wolfgang Schuster
) \setupmarginframed[inmargin][align=inner] It would really help when you provide a minimal example because it’s very annoying to write always one by myself. Wolfgang ___ If your question is of interest to others as well, please add

Re: [NTG-context] Margin text in doublesided documents

2011-04-05 Thread C.
I will remember to include a minimal example from now on. Here is the current: \setuplayout[location=doublesided] \setuppagenumbering[location=right,alternative=doublesided] \setupmargindata[inmargin][location=outer,align=inner] % almost correct. on odd pages wrong alignment % \setupmarginframed

Re: [NTG-context] Margin text in doublesided documents

2011-04-05 Thread C.
Whoops! Sent too early, this is the updated minimal example: \setuplayout[location=doublesided] \setuppagenumbering[location=right,alternative=doublesided] \setupmargindata[inmargin][location=outer,align=inner] % almost correct. on odd pages wrong alignment % \setupmarginframed[inmargin][align

Re: [NTG-context] Margin text in doublesided documents

2011-04-05 Thread C.
Aha! It's this combination that makes it work: \setupmargindata[inmargin][location=outer,align=inner] % align=inner has no effect here?! \setupmarginframed[inmargin][align=inner] % but when I add this it works and aligns to the body text Thanks for your help, I'm all set now. -Ursprüngliche

Re: [NTG-context] \setupinmargin no more known

2011-03-02 Thread Wolfgang Schuster
Am 02.03.2011 um 18:10 schrieb Peter Münster: Hello, Bug or feature? Hans rewrote the margintext code and the new commands are - \definemargindata to create a new command (different syntax than the old code) and - \setupmargindata and - \setupmarginframed to change the values